import http from '@/utils/http'
export const postMemberAddressAPI = (data) =>http.post("/member/address",data)
//获取收货地址列表
export const getMemberAddressAPI = () =>http.get("/member/address")
//修改收货地址回显接口
export const getMemberAddressByIdAPI = (id) => http.get(`/member/address/${id}`)
//修改收货地址
export const putMemberAddressByIdAPI = (id, data) =>http.put(`/member/address/${id}`,data)
//删除接口
export const deleteMemberAddressByIdAPI = (id) =>http.delete(`/member/address/${id}`)